package com.zhx;

import io.prometheus.client.spring.boot.EnablePrometheusEndpoint;
import io.prometheus.client.spring.boot.EnableSpringBootMetricsCollector;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author zhanghaixuan
 * @create 2017/12/19-上午9:56
 **/
@SpringBootApplication
@EnablePrometheusEndpoint
@EnableSpringBootMetricsCollector
public class ActuatorApplication {


    public static void main(String[] args) {
        SpringApplication.run(ActuatorApplication.class,args);
    }
}
